package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.StudentInitiativeCar;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface StudentInitiativeCarMapper {

    List<StudentInitiativeCar> selectShareCarSubByStudentId(String studentId);

    List<StudentInitiativeCar> selectPracticeCarTime(Map<String, Object> map);

    String selectOrderSum(Map<String, String> map);

    List<StudentInitiativeCar> selectCoach(String lcsjId);

    StudentInitiativeCar selectPracticeCarTimeByFid(String fid);

    //lcsjfid 练车时间子表id fid 学生id 用于查询这个预约练车下是否已经预约李
    int selectPracticeCarTimeByInfo(@Param("lcsjfid") String lcsjfid, @Param("fid") String fid);
}
